# Contributor: Steven Honson <steven@honson.id.au>
# Maintainer: Steven Honson <steven@honson.id.au>
pkgname=uhubctl
pkgver=2.4.0
pkgrel=0
pkgdesc="USB hub per-port power control"
url="https://github.com/mvp/uhubctl"
license="GPL-2.0-only"
arch="all"
makedepends="libusb-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/mvp/uhubctl/archive/v$pkgver.tar.gz"
options="!check" # no test suite

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
d7f07679c4678565ce0174e1eb591263fae5629dd6fbb5aaa0321ca10176b8b2d662e75a3019caeb83aaf470c8386188848ba3095e1006451e8710b2a2c9bb1d  uhubctl-2.4.0.tar.gz
"
